<h1>Docker version 命令</h1>
<p>docker version :显示 Docker 版本信息。</p>
<h3>语法</h3>
<pre><code class="language-Docker">docker version [OPTIONS]</code></pre>
<p>OPTIONS说明：</p>
<ul>
<li><p><strong>-f :</strong>指定返回值的模板文件。</p><p></p></li>
</ul>
<h3>实例</h3>
<p>显示 Docker 版本信息。</p>
<pre><code class="language-Docker">$ docker version

Client:

 Version:      1.8.2

 API version:  1.20

 Go version:   go1.4.2

 Git commit:   0a8c2e3

 Built:        Thu Sep 10 19:19:00 UTC 2015

 OS/Arch:      linux/amd64




 Version:      1.8.2

 API version:  1.20

 Go version:   go1.4.2

 Git commit:   0a8c2e3

 Built:        Thu Sep 10 19:19:00 UTC 2015

 OS/Arch:      linux/amd64

</code></pre>

